/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconPetHospital: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1280 1024" width={size + 'rem'} height={size + 'rem'} style={style} {...rest}>
      <path
        d="M384 96c0-53 43-96 96-96h320c53 0 96 43 96 96v928h-160v-160c0-53-43-96-96-96s-96 43-96 96v160h-160V96zM96 192h224v832H96c-53 0-96-43-96-96V640h160c17.6 0 32-14.4 32-32s-14.4-32-32-32H0v-128h160c17.6 0 32-14.4 32-32s-14.4-32-32-32H0v-96c0-53 43-96 96-96z m1088 0c53 0 96 43 96 96v96h-160c-17.6 0-32 14.4-32 32s14.4 32 32 32h160v128h-160c-17.6 0-32 14.4-32 32s14.4 32 32 32h160v288c0 53-43 96-96 96H960V192h224zM624 128c-17.6 0-32 14.4-32 32v48h-48c-17.6 0-32 14.4-32 32v32c0 17.6 14.4 32 32 32h48v48c0 17.6 14.4 32 32 32h32c17.6 0 32-14.4 32-32v-48h48c17.6 0 32-14.4 32-32v-32c0-17.6-14.4-32-32-32h-48V160c0-17.6-14.4-32-32-32h-32z"
        fill={getIconColor(color, 0, '#50c878')}
      />
    </svg>
  );
};

IconPetHospital.defaultProps = {
  size: 30,
};

export default IconPetHospital;
